Add gtk_widget_get/set_opacity
authorAlexander Larsson <alexl@redhat.com>
Wed, 7 Nov 2012 13:32:35 +0000 (14:32 +0100)
committerAlexander Larsson <alexl@redhat.com>
Thu, 7 Feb 2013 10:11:37 +0000 (11:11 +0100)
commitfa8b71450c764bb0d4d3514c8372637ea3c64c35
tree1a693e55083630cb639f893a859e8438df321ae6
parent3d4cd4db3ed9f6c47566a69d745441e2662ac2ab
Add gtk_widget_get/set_opacity

This adds gtk_widget_get/set_opacity, as well as a GtkWidget.opacity
property. Additionally it deprectates gtk_window_get/set_opacity and
removes the GtkWindow.opacity property (in preference for the new
identical inherited property from GtkWidget, which should be ABI/API
compat).

The implementation is using the new gdk_window_set_opacity child
window support for windowed widgets, and cairo_push/pop_group()
bracketing in gtk_widget_draw() for non-window widgets.

https://bugzilla.gnome.org/show_bug.cgi?id=687842
gtk/gtk.symbols
gtk/gtkwidget.c
gtk/gtkwidget.h
gtk/gtkwindow.c
gtk/gtkwindow.h